package com.dubbo.service;import javafx.application.Application;import org.springframework.context.ApplicationContext;import org.springframework.context.support.ClassPathXmlApplicationContext;import java.io.IOException;/** * Created by Administrator on 2020-3-3. */public class OrderProvicesApplication {    public  static  void main(String[] args) throws IOException {        String config ="orderservice-provider.xml";        ApplicationContext ctx = new ClassPathXmlApplicationContext(config);        //容器的启动方法        ((ClassPathXmlApplicationContext)ctx).start();        //让提供者一直运行        System.in.read();    }}